package com.itheima.health.dao;

import com.itheima.health.entity.OrderInfo;
import com.itheima.health.pojo.CheckGroup;
import com.itheima.health.pojo.CheckItem;
import com.itheima.health.pojo.Member;
import com.itheima.health.pojo.Setmeal;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface MemberDao {

    Member findByTelephone(String phone);

    void add(Member member);

    List<Setmeal> getSetmeal();

    Member selectByTelephone(String telephone);

    Setmeal findById(Integer id);

    List<CheckGroup> selctcheckGroupsBySetmealId(Integer id);

    List<CheckItem> selctCheckItemsByCheckGroupId(Integer id);

    OrderInfo findMember(Integer id);
}
